from django.urls import path

from mytz.views import MytzViewSet

urlpatterns = [
    path(r'getFdi', MytzViewSet.as_view({'get': 'get_fdi'}), name='getFdi'),
    path(r'getJckze', MytzViewSet.as_view({'get': 'get_jckze'}), name='getJckze'),
    path(r'getMysnc', MytzViewSet.as_view({'get': 'get_mysnc'}), name='getMysnc'),
    path(r'export', MytzViewSet.as_view({'post': 'export_to_excel'}), name='export_to_excel'),
    path(r'predict', MytzViewSet.as_view({'post': 'predict'}), name='predict')
]